Skip to content

gh-75723: Fix double evaluation of .pth and .site files in venvs#149583

Merged
warsaw merged 15 commits intopython:mainfrom
warsaw:warsaw/asottle-gh-75723
May 11, 2026
Merged

gh-75723: Fix double evaluation of .pth and .site files in venvs#149583
warsaw merged 15 commits intopython:mainfrom
warsaw:warsaw/asottle-gh-75723

Conversation

@warsaw
Copy link
Copy Markdown
Member

@warsaw warsaw commented May 8, 2026

This is a more comprehensive fix for Python 3.15 for #75723 reported by @asottile (thanks!). This should not be backported since it's specific to the additions made for PEP 829. I'll evaluate and update !147951 for 3.13 and 3.14 separately.

Huge thanks to @asottile for finding, reporting, and fixing the original bug.

Copy link
Copy Markdown
Contributor

@ncoghlan ncoghlan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Comment thread Lib/test/test_site.py
@warsaw
Copy link
Copy Markdown
Member Author

warsaw commented May 11, 2026

Thanks for the review @ncoghlan !

@warsaw warsaw merged commit 1978785 into python:main May 11, 2026
56 checks passed
@warsaw warsaw deleted the warsaw/asottle-gh-75723 branch May 11, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants